.box-wrap {
    background-color: #d4d4f5;
    width: 500px;
    height: 500px;
    margin: 50px auto 10px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-radius: 2%;
}

.box {
    width: 29%;
    height: 29%;
    display: inline-block;
    border-radius: 10%;
    background-color: orange;
    text-align: center;
    margin: 1%;
}

.button-wrap {
    width: 500px;
    height: 100px;
    margin: auto;
}

.button-wrap input {
    width: 100%;
    height: 50%;
    margin-bottom: 10px;
    font-size: large;
    border-style: none;
    border-radius: 15px;
    color: orange;
    outline: none;
    transition: background-color 0.3s;
    cursor: pointer;
}

.button-wrap input:focus, .button-wrap input:hover {
    background-color: orange;
    color: white;
}

/* mobile */
@media screen and (max-width: 768px) {
    .box-wrap {
        background-color: #d4d4f5;
        width: 400px;
        height: 400px;
        margin: 50px auto 10px auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        border-radius: 2%;
    }
    .button-wrap {
        width: 400px;
        height: 100px;
        margin: auto;
    }
}